home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / modula2 / 299 < prev    next >
Encoding:
Text File  |  1996-08-06  |  3.1 KB  |  69 lines

  1. Newsgroups: comp.lang.modula2,comp.lang.modula3
  2. Path: news3.noc.netcom.net!zdc!szdc!weck!jguthrie
  3. From: jguthrie@weck.com ()
  4. Subject: Re: Why Modula-2?
  5. Followup-To: comp.lang.modula2,comp.lang.modula3
  6. X-Newsreader: TIN [version 1.2 PL2]
  7. Sender: usenet@clark.zippo.com
  8. Nntp-Posting-Host: weck.brokersys.com
  9. Organization: Executel/IBS Internet Services
  10. Message-ID: <DMGpFz.Mpo@clark.zippo.com>
  11. References: <4eqo1l$mko@wariat.wariat.org> <4f3ejc$g0t@seagoon.newcastle.edu.au> <NAYERI.96Feb6173153@tahoe.gte.com>
  12. Date: Thu, 8 Feb 1996 14:55:11 GMT
  13.  
  14. Farshad Nayeri (nayeri@gte.com) wrote:
  15.  
  16. : Just some clarifications on Peter's points...
  17.  
  18. <stuff deleted>
  19.  
  20. > >    Modula-3 has some good ideas but because of the way it was
  21. > >    developed it's almost a proprietary product which might or might
  22. > >    not be ported to other platforms.  
  23.  
  24. > Sources for the full SRC Modula-3 compiler have been available since
  25. > the begining of Modula-3's life (I think 6 years or so now.) I am not
  26. > sure what you mean by "might or might not be ported to other
  27. > platforms". Last time I checked Modula-3 ran on 25 or so platforms
  28. > including almost every major platform out there.
  29.  
  30. Actually, I compare the SRC Modula-3 to AT&T's 'PCC' in the early days
  31. of C.  It's less of a proprietary system than one with a reference
  32. implementation.  When the ISO decides to standardize Modula-3, they will
  33. start with the way that SRC works so most of the post-standardization
  34. code will have a fighting chance at working without modification.  
  35. Contrast this to Modula-2, where there wasn't a "reference implementation"
  36. so the standard doesn't really resemble ANY pre-ISO implementation and
  37. so code that was written for a pre-ISO compiler doesn't have a prayer of
  38. escaping unmodified.
  39.  
  40. The moral of the story (for language designers) is:  You need a reference
  41. implementation to illustrate the "right way" of building a translator for
  42. the language, and you need a "standard library" so that programs have some
  43. sort of standard way of interacting with the rest of the universe.
  44.  
  45. <More stuff deleted>
  46.  
  47. > > 3. Oberon was designed in such a way that it's not just a
  48. > >    language, it's a language plus something like an operating
  49. > >    system. 
  50.  
  51. > Modula-3 is designed so that it can be built either as a standalone
  52. > compiler or an integrated system. SRC Modula-3 compiler is a "systems"
  53. > compiler; you can link in C code, etc. Someone can easily build a
  54. > Modula-3 environment like Oberon's, but that's another story.
  55.  
  56. I believe that the "Oberon system" is a gigantic millstone around the
  57. (admittedly virtual) neck of the Oberon language.  When you tie a
  58. language closely to an operating system, you require not only that the 
  59. programmer adopt adopt both simultaneously, but also that the end user
  60. adopt the operating system to run the applications.  Such things are
  61. highly unlikely.  When you get a system that is as unpopular as the
  62. Oberon system, it is even more unlikely that the language will ever go
  63. anywhere even if it is the world's niftiest language.
  64.  
  65. Of course, they've come up with a standalone version of Oberon, but when
  66. you leave the Oberon system, Oberon the language becomes pretty much just
  67. another Pascal descendant.
  68.  
  69.